package com.axin.common.entity.response;

/**
 * @Author ISME
 * @Date 2018/1/14
 * @Time 18:22
 */

public class OrdersDetail {

    /**
     * id : 59378
     * symbol : ethusdt
     * account-id : 100009
     * amount : 10.1000000000
     * price : 100.1000000000
     * created-at : 1494901162595
     * type : buy-limit
     * field-amount : 10.1000000000
     * field-cash-amount : 1011.0100000000
     * field-fees : 0.0202000000
     * finished-at : 1494901400468
     * user-id : 1000
     * source : api
     * state : filled
     * canceled-at : 0
     * exchange : huobi
     * batch :
     */

    private long id;
    private String symbol;
    private int accountId;
    private String amount;
    private String price;
    private long createdAt;
    private String type;
    private String fieldAmount;
    private String fieldCashAmount;
    private String fieldFees;
    private long finishedAt;
    private int userId;
    private String source;
    private String state;
    private long canceledAt;
    private String exchange;
    private String batch;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

	/**
	 * @return the accountId
	 */
	public int getAccountId() {
		return accountId;
	}

	/**
	 * @param accountId the accountId to set
	 */
	public void setAccountId(int accountId) {
		this.accountId = accountId;
	}

	/**
	 * @return the amount
	 */
	public String getAmount() {
		return amount;
	}

	/**
	 * @param amount the amount to set
	 */
	public void setAmount(String amount) {
		this.amount = amount;
	}

	/**
	 * @return the price
	 */
	public String getPrice() {
		return price;
	}

	/**
	 * @param price the price to set
	 */
	public void setPrice(String price) {
		this.price = price;
	}

	/**
	 * @return the createdAt
	 */
	public long getCreatedAt() {
		return createdAt;
	}

	/**
	 * @param createdAt the createdAt to set
	 */
	public void setCreatedAt(long createdAt) {
		this.createdAt = createdAt;
	}

	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}

	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}

	/**
	 * @return the fieldAmount
	 */
	public String getFieldAmount() {
		return fieldAmount;
	}

	/**
	 * @param fieldAmount the fieldAmount to set
	 */
	public void setFieldAmount(String fieldAmount) {
		this.fieldAmount = fieldAmount;
	}

	/**
	 * @return the fieldCashAmount
	 */
	public String getFieldCashAmount() {
		return fieldCashAmount;
	}

	/**
	 * @param fieldCashAmount the fieldCashAmount to set
	 */
	public void setFieldCashAmount(String fieldCashAmount) {
		this.fieldCashAmount = fieldCashAmount;
	}

	/**
	 * @return the fieldFees
	 */
	public String getFieldFees() {
		return fieldFees;
	}

	/**
	 * @param fieldFees the fieldFees to set
	 */
	public void setFieldFees(String fieldFees) {
		this.fieldFees = fieldFees;
	}

	/**
	 * @return the finishedAt
	 */
	public long getFinishedAt() {
		return finishedAt;
	}

	/**
	 * @param finishedAt the finishedAt to set
	 */
	public void setFinishedAt(long finishedAt) {
		this.finishedAt = finishedAt;
	}

	/**
	 * @return the userId
	 */
	public int getUserId() {
		return userId;
	}

	/**
	 * @param userId the userId to set
	 */
	public void setUserId(int userId) {
		this.userId = userId;
	}

	/**
	 * @return the source
	 */
	public String getSource() {
		return source;
	}

	/**
	 * @param source the source to set
	 */
	public void setSource(String source) {
		this.source = source;
	}

	/**
	 * @return the state
	 */
	public String getState() {
		return state;
	}

	/**
	 * @param state the state to set
	 */
	public void setState(String state) {
		this.state = state;
	}

	/**
	 * @return the canceledAt
	 */
	public long getCanceledAt() {
		return canceledAt;
	}

	/**
	 * @param canceledAt the canceledAt to set
	 */
	public void setCanceledAt(long canceledAt) {
		this.canceledAt = canceledAt;
	}

	/**
	 * @return the exchange
	 */
	public String getExchange() {
		return exchange;
	}

	/**
	 * @param exchange the exchange to set
	 */
	public void setExchange(String exchange) {
		this.exchange = exchange;
	}

	/**
	 * @return the batch
	 */
	public String getBatch() {
		return batch;
	}

	/**
	 * @param batch the batch to set
	 */
	public void setBatch(String batch) {
		this.batch = batch;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "OrdersDetail [id=" + id + ", symbol=" + symbol + ", accountId=" + accountId + ", amount=" + amount
				+ ", price=" + price + ", createdAt=" + createdAt + ", type=" + type + ", fieldAmount=" + fieldAmount
				+ ", fieldCashAmount=" + fieldCashAmount + ", fieldFees=" + fieldFees + ", finishedAt=" + finishedAt
				+ ", userId=" + userId + ", source=" + source + ", state=" + state + ", canceledAt=" + canceledAt
				+ ", exchange=" + exchange + ", batch=" + batch + "]";
	}

   
    
    
    
}
